
{# src/Asiah/SiklusBundle/Resources/views/User/login.html.twig #}
{% extends 'AsiahSiklusBundle::main.html.twig' %}

{% block title %}Halaman utama{% endblock %}
{% block stylesheet %}
<link rel="stylesheet" href="{{asset('css/user.css')}}" type="text/css" media="screen" charset="utf-8">
{% endblock %}
{% block body %}
<div id="leftcontent">
	<div id="title">
		<h1>Register</h1>
		<p>Sudah memiliki akun, <a href="{{path('login')}}">login</a> disini</p>
	</div>
	<div id="kotakdalam">
		<form action="{{ path('register') }}" method="post" {{ form_enctype(form) }} >
			{{ form_label(form.username, 'Username') }}
			{{ form_widget(form.username) }}
			{{ form_label(form.name, 'Nama') }}
			{{ form_widget(form.name) }}
			{{ form_label(form.email, 'Email') }}
			{{ form_widget(form.email) }}
			{{ form_label(form.password, 'Kata Sandi') }}
			{{ form_widget(form.password) }}
			<label><input type="checkbox" name="agree">Saya setuju dengan aturan penggunaan </label>
			<input type="submit" value="Daftar" />
		</form>
	</div>
</div>
{% endblock %}
